package com.ruoyi.system.domain;

import com.alibaba.fastjson2.annotation.JSONField;
import lombok.Data;

import java.util.List;

// 外层响应类（对应最外层JSON）
@Data
public class PaperCheckResponse {
    @JSONField(name = "code")
    private Integer code;
    
    @JSONField(name = "codeMsg")
    private String codeMsg;
    
    @JSONField(name = "data")
    private DataWrapper dataWrapper;



    // 中间层数据类（对应data字段）
    @Data
    public static class DataWrapper {
        @JSONField(name = "data")
        private List<PaperData> dataList;  // 避免与类名冲突，重命名字段为dataList
    }

    // 内层论文数据类（对应data数组中的每个元素）
    @Data
    public static class PaperData {
        @JSONField(name = "paper_id")
        private String paperId;

        @JSONField(name = "system_type")
        private String systemType;

        @JSONField(name = "status")
        private Integer status;

        @JSONField(name = "title")
        private String title;

        @JSONField(name = "author")
        private String author;

        @JSONField(name = "upload_time")
        private String uploadTime;

        @JSONField(name = "report_path")
        private String reportPath;

        @JSONField(name = "origin_path")
        private String originPath;

        @JSONField(name = "note")
        private String note;

        @JSONField(name = "copy_percent")
        private String copyPercent;

        @JSONField(name = "copy_percent_exclude_self")
        private String copyPercentExcludeSelf;

        @JSONField(name = "online_report")
        private String onlineReport;

        @JSONField(name = "jane_name")
        private String janeName;
    }
}
